package com.numberone.master.modules.sys.dao;

import java.util.List;

import com.numberone.master.common.persistence.CrudDao;
import com.numberone.master.common.persistence.annotation.MyBatisDao;
import com.numberone.master.modules.sys.entity.Complain;
import com.numberone.master.modules.sys.entity.Skill;

@MyBatisDao
public interface SkillDao extends CrudDao<Skill> {

	void deleteSkillComplain(String id);

	void insertSkillComplain(Skill skill);

	List<Skill> findAllList(Complain complain);

	int deleteSkillUser(String id);

	List<Skill> findListByUserId(String id);

	Skill getByName(String name);

}
